gdk/gdkconfig.h.win32: Make it more up-to-date
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 11 Feb 2011 10:05:16 +0000 (18:05 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 11 Feb 2011 10:07:05 +0000 (18:07 +0800)
Make this pre-configured file to be more like the one used by the existing
X11 version, but using GDK_WINDOWING_WIN32 for obvious reasons.

gdk/gdkconfig.h.win32

index 7bd668e81e5c9d07547fbf370a6ee1fa13652fcd..c941eb86a004e77f80bdd38e75d3f32c531b00ec 100644 (file)
@@ -1,31 +1,22 @@
 /* gdkconfig.h
  *
- * This is a pre-generated file.
+ * This is a generated file.  Please modify `configure.ac'
  */
 
-#ifndef GDKCONFIG_H
-#define GDKCONFIG_H
+#ifndef __GDKCONFIG_H__
+#define __GDKCONFIG_H__
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
+#error "Only <gdk/gdk.h> can be included directly."
+#endif
 
-#ifndef GSEAL
-/* introduce GSEAL() here for all of Gdk and Gtk+ without the need to modify GLib */
-#  ifdef GSEAL_ENABLE
-#    define GSEAL(ident)      _g_sealed__ ## ident
-#  else
-#    define GSEAL(ident)      ident
-#  endif
-#endif /* !GSEAL */
+#include <glib.h>
+
+G_BEGIN_DECLS
 
-#define GDK_WINDOWING_WIN32
 
-#define GDK_HAVE_WCHAR_H 1
-#define GDK_HAVE_WCTYPE_H 1
+#define GDK_WINDOWING_WIN32
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
-#endif /* GDKCONFIG_H */
+#endif  /* __GDKCONFIG_H__ */